package com.dormitory.service;

import com.dormitory.model.Building;
import java.util.List;

public interface BuildingService {
    boolean addBuilding(Building building);
    boolean updateBuilding(Building building);
    boolean deleteBuilding(Integer buildingId);
    Building getBuildingById(Integer buildingId);
    List<Building> getAllBuildings();
    List<Building> searchBuildings(String condition);
} 